﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;

namespace PTUDW_CNTN2010_F_CDT.Helpers
{
    public class PasswordEncrypt
    {
        public static string GetHPassword(string password)
        {
            //MD5CryptoServiceProvider myMD5 = new MD5CryptoServiceProvider();
            //byte[] myPass = System.Text.Encoding.UTF8.GetBytes(password);
            //myPass = myMD5.ComputeHash(myPass);

            //StringBuilder s = new StringBuilder();
            //foreach (byte p in myPass)
            //{
            //    s.Append(p.ToString("x").ToLower());
            //}
            //return s.ToString();
            return password;
        }

        public static string GetPassword(string hPassword)
        {
           

            return hPassword;
        }
    }
}